package com.sundi.ecupms.service.impl;

import com.sundi.ecupms.entity.EcMenu;
import com.sundi.ecupms.mapper.EcMenuMapper;
import com.sundi.ecupms.service.IEcMenuService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
@Service
public class EcMenuServiceImpl extends ServiceImpl<EcMenuMapper, EcMenu> implements IEcMenuService {

    @Override
    public List<EcMenu> getMenuByUserName(String name) {
        return this.baseMapper.getMenuByUserName(name);
    }
}
